FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.7.5  |  FHIR Version n/a  User: [n/a]

Resource StructureMap/FHIR Server from package dk-ehmi-sbdh#current (15 ms)

Package dk-ehmi-sbdh
Type StructureMap
Id Id
FHIR Version R4
Source http://medcomehmi.dk/ig/dk-ehmi-sbdh/https://build.fhir.org/ig/medcomdk/dk-ehmi-sbdh/StructureMap-MedComMessagingMessage2MedComDocumentReference-transform.html
Url http://medcomehmi.dk/ig/dk-ehmi-sbdh/StructureMap/MedComMessagingMessage2MedComDocumentReference-transform
Version 0.91.0
Status draft
Date 2024-12-10T14:41:40+00:00
Name Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference
Title Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference
Experimental False
Realm dk
Description Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureMap MedComMessagingMessage2MedComDocumentReference-transform

map "http://medcomehmi.dk/ig/dk-ehmi-sbdh/StructureMap/MedComMessagingMessage2MedComDocumentReference-transform" = "Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference"

// Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference

uses "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-message" as source
uses "http://medcomfhir.dk/ig/document/StructureDefinition/medcom-documentreference" as target

group MedComMessagingMessage2MedComDocumentReference(source source : Bundle, target target : DocumentReference) {
  source default "zyx" -> target.versionid = create() "homeCommunityid";
}


Source

{
  "resourceType" : "StructureMap",
  "id" : "MedComMessagingMessage2MedComDocumentReference-transform",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap MedComMessagingMessage2MedComDocumentReference-transform</b></p><a name=\"MedComMessagingMessage2MedComDocumentReference-transform\"> </a><a name=\"hcMedComMessagingMessage2MedComDocumentReference-transform\"> </a><a name=\"MedComMessagingMessage2MedComDocumentReference-transform-da-DK\"> </a><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> &quot;</span>http://medcomehmi.dk/ig/dk-ehmi-sbdh/StructureMap/MedComMessagingMessage2MedComDocumentReference-transform<span style=\"color: navy\">&quot; = &quot;</span>Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference<span style=\"color: navy\">&quot;\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"https://build.fhir.org/ig/medcomdk/dk-medcom-messaging/StructureDefinition-medcom-messaging-message.html\" title=\"MedComMessagingMessage\">http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-message</a><span style=\"color: navy\">&quot; </span><b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"https://build.fhir.org/ig/medcomdk/dk-medcom-document/StructureDefinition-medcom-documentreference.html\" title=\"MedComDocumentReference\">http://medcomfhir.dk/ig/document/StructureDefinition/medcom-documentreference</a><span style=\"color: navy\">&quot; </span><b>as </b><b>target</b>\r\n\r\n<b>group </b>MedComMessagingMessage2MedComDocumentReference<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">source</span><span style=\"color: navy\"> : </span>Bundle, <b>target</b> <span style=\"color: maroon\">target</span><span style=\"color: navy\"> : </span>DocumentReference<span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span> source<b> default </b>&quot;zyx&quot;<span style=\"color: navy\"><b> -&gt; </b></span>target.versionid = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>&quot;homeCommunityid&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "url" : "http://medcomehmi.dk/ig/dk-ehmi-sbdh/StructureMap/MedComMessagingMessage2MedComDocumentReference-transform",
  "version" : "0.91.0",
  "name" : "Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference",
  "title" : "Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference",
  "status" : "draft",
  "date" : "2024-12-10T14:41:40+00:00",
  "publisher" : "MedCom",
  "contact" : [
    {
      "name" : "MedCom",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://medcom.dk"
        }
      ]
    }
  ],
  "description" : "Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "urn:iso:std:iso:3166",
          "code" : "DK",
          "display" : "Denmark"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-message",
      "mode" : "source"
    },
    {
      "url" : "http://medcomfhir.dk/ig/document/StructureDefinition/medcom-documentreference",
      "mode" : "target"
    }
  ],
  "group" : [
    {
      "name" : "MedComMessagingMessage2MedComDocumentReference",
      "typeMode" : "none",
      "input" : [
        {
          "name" : "source",
          "type" : "Bundle",
          "mode" : "source"
        },
        {
          "name" : "target",
          "type" : "DocumentReference",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "homeCommunityid",
          "source" : [
            {
              "context" : "source",
              "defaultValueCode" : "zyx"
            }
          ],
          "target" : [
            {
              "context" : "target",
              "contextType" : "variable",
              "element" : "versionid",
              "transform" : "create"
            }
          ]
        }
      ]
    }
  ]
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.